Ledger Live provides developers with APIs and SDKs to integrate Ledger hardware wallet functionality securely into your applications, wallets, and dApps.
Ledger Live API
Use the Ledger Live API to interact with connected Ledger devices. It allows:
- Securely requesting signatures for transactions
- Retrieving account information and balances
- Monitoring device status
Developer Tools
ledgerhq/hw-app-btc
for Bitcoin integrationledgerhq/hw-app-eth
for Ethereum integration- Simulators and test environments for Ledger devices
Documentation & Examples
Follow step-by-step guides and examples for integrating Ledger Live into your projects. Sample code:
const TransportNodeHid = require('@ledgerhq/hw-transport-node-hid').default;
const AppBtc = require('@ledgerhq/hw-app-btc').default;
async function main() {
const transport = await TransportNodeHid.create();
const btc = new AppBtc(transport);
const result = await btc.getWalletPublicKey("44'/0'/0'/0/0");
console.log(result);
}
main();